<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>我要充值</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" type="text/css" href="../../css/mui.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/own.css" />
	</head>
	<body>
		<style>
			.mui-control-content {
				background-color: white;
			}
			#item3mobile input[name="back_icon"] {float: left; display: block; width: 10px;margin-top: 40px;}
			.mui-control-content .mui-loading {
				margin-top: 50px;
			}
			.titleActive{
				color:#FFCC33;
			}
			#weixinpayBack{
				width: 100%;
				background-color: rgba(0, 0, 0, 0.6);
				position: fixed;
				top:0px;
				left: 0px;
				z-index: 999;
				display: none;
			}
			#weixinpayBack img{
				width: 80%;
				display: block;
				height: auto;
				position: absolute;
			}
		</style>
		<header class="mui-bar mui-bar-nav own-topbg">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" id="back"><i>返回</i></a>
			<h1 class="mui-title">我要充值</h1>
			<a href="javascript:void(0)" class="top-tel" id="telBtn">客服热线</a>
		</header>
		<div class="mui-content ac_charge">
			<div id="slider" class="mui-slider">
				<div id="segmentedControl" class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted">
					<a class="mui-control-item mui-active" id="onlinePay" >在线网银</a>
					<!--<a class="mui-control-item" id="alipayApp">支付宝充值</a>-->
					<a class="mui-control-item" id="weixinPay"  >微信支付</a>
					<a class="mui-control-item" id="bankPay"  >银行转账</a>
					
				</div>
				<div id="sliderProgressBar" class="mui-slider-progress-bar mui-col-xs-4"></div>
				<div class="mui-slider-group" id="itembox">
					<div id="item1mobile" class="mui-slider-item mui-control-content ">
						<div id="" class="mui-scroll-wrapper ac_online">
							<ul class="mui-table-view">
								<li class="mui-table-view-cell">
									<label>账户余额</label>
									<span id="balanceSpan">0.00元</span>
								</li>
								<li class="mui-table-view-cell">
									<label>充值金额</label>
									<span>元</span>
									<input type="tel" id="rechargeMoney" class="mui-input-clear" placeholder="输入金额" data-input-clear="5">
								</li>
							</ul>
							<div class="mui-content-padded" style="margin-top: -15px;">
								<p>1.单笔充值最多5万元(含5万)，单日充值最多10万元(不含10万)；</p>
								<p>2.具体充值限额以您的银行卡快捷支付限额为准。</p>
							</div>
							<ul class="mui-table-view">
								<li class="mui-table-view-cell">
									<label>支付渠道</label>
									<img src="../../images/ac_bank.gif" class="ac_bankpic" />
								</li>
							</ul>
							<div class="ac_btn">
								<button type="button" id="recharge-btn" class="mui-btn mui-btn-block lg-btnlogin">立即充值</button>
							</div>
						</div>
					</div>
					<!--<div id="item6mobile" class="mui-slider-item mui-control-content">
						<div id="" class="mui-scroll-wrapper ac_online">
							<ul class="mui-table-view">
								<li class="mui-table-view-cell">
									<label>账户余额</label>
									<span id="balanceSpan">0.00元</span>
								</li>
								<li class="mui-table-view-cell">
									<label>充值金额</label>
									<span>元</span>
									<!--<input type="number" id="rechargeMoneyAlipayApp" class="mui-input-clear" placeholder="输入金额" data-input-clear="5" onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
								<input type="number" id="rechargeMoneyAlipayApp" class="mui-input-clear" placeholder="输入金额" data-input-clear="5" >
								</li>
							</ul>
							<div class="mui-content-padded" style="margin-top: -15px;">
								<p>1.单笔充值最多5万元(含5万)，单日充值最多10万元(不含10万)；</p>
								<p>2.具体充值限额以您的银行卡快捷支付限额为准。</p>
							</div>
							<!--<ul class="mui-table-view">
								<li class="mui-table-view-cell">
									<label>支付渠道</label>
									<img src="../../images/ac_bank.gif" class="ac_bankpic" />
								</li>
							</ul>
							<div class="ac_btn">
								<button type="button" id="alipayapp-btn" class="mui-btn mui-btn-block lg-btnlogin">立即充值</button>
							</div>
						</div>
					</div>-->

					<!--<div id="item2mobile" class="mui-slider-item mui-control-content ac_alipay">
						<div id="" class="mui-scroll-wrapper ac_online">
							<div class="mui-scroll">
								<ul id="list" class="mui-table-view mui-table-view-chevron">
								<li class="mui-table-view-cell">
									<a class="mui-navigate-right" id="bindAlipay">
										<label>绑定支付宝账号</label>
										<b><span id="alipay_account">待绑定</span></b>
									</a>
								</li>
							</ul>
								<ul class="mui-table-view">
									<li class="mui-table-view-cell">
										<label>收款人支付宝账户</label>
										<span>zhitoubao@126.com</span>
									</li>
									<li class="mui-table-view-cell">
										<label>收款人账户名称</label>
										<span>上海信闳投资管理有限公司</span>
									</li>
								</ul>
								<div class="ac_btn">
									<a href="javascript:void(0);" id="openappliy" class="mui-btn mui-btn-block lg-btnlogin">打开支付宝</a>
								</div>
								<div class="mui-content-padded">
									<h5>温馨提示：</h5>
									<p>1、若在该页面打开支付宝失败，您可以手动启动支付宝APP或者登录支付宝官网，选择转账到支付宝账户，手工输入信闳投资的收款支付宝账户，最终完成转账。</p>
									<p>2、最快5分钟内到账，最晚下一个工作日09:15前到账。</p>
								</div>
							</div>
						</div>
					</div>-->
					<div id="item2mobile" class="mui-slider-item mui-control-content ">
						<div id="" class="mui-scroll-wrapper ac_online">
							<div class="mui-scroll">
								<ul id="list" class="mui-table-view mui-table-view-chevron">
									<li class="mui-table-view-cell">
										<a class="mui-navigate-right" id="bindAlipay">
											<label>绑定微信账号</label>
											<b><span id="wx_account">待绑定</span></b>
										</a>
									</li> 
								</ul>
								<ul class="mui-table-view">
									<li class="mui-table-view-cell">
										<label>收款人微信账户</label>
										<span>1369866402@1369866402</span>
									</li>
									<li class="mui-table-view-cell">
										<label>收款人账户名称</label>
										<span>成都盈透科技有限公司</span>
									</li>
								</ul>
								<!--<div class="ac_btn">
									<a href="javascript:void(0);" id="openappliy" class="mui-btn mui-btn-block lg-btnlogin">打开支付宝</a>
								</div>-->
								<div id="weiPayCode">
									<p>点击二维码，截图到本地，打开微信扫一扫，识别二维码，进行付款</p>
									<img src="../../images/weixinpay.png" id="weixinPayCode">
								</div>
								<div class="mui-content-padded">
									<h5>温馨提示：</h5>
									<p>1、为了您的资金安全，您的账户资金将由第三方银行托管；</p>
									<p>2、充值前请注意您的银行卡充值限制，以免造成不便；</p>
									<p>3、禁止洗钱、信用卡套现，虚假交易等行为，一经发现并确认，将终止该账户的使用；</p>
									<p>4、为了您的资金安全，建议充值前进行实名认证，手机绑定、设置提现密码；</p>
									<p>5、如果充值遇到任何问题，请联系客服：400-180-1860；</p>
								</div>
							</div>
						</div>
					</div>
					<div id="item3mobile" class="mui-slider-item mui-control-content ac_bank">
						<div id="" class="mui-scroll-wrapper">
							<div class="mui-scroll" id="ac_bank_list">
								<p class="ac_bankpromt">向国际期货通转账后，请录入流水单号，方便及时核实到账</p>
								<ul class="mui-table-view">
									<li class="mui-table-view-cell">
										<label style="width: 80px!important">转账金额</label>
										<input type="tel" class="mui-input-clear" placeholder="请输入转账金额" data-input-clear="5" id="bank_money" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
									</li>
								</ul>
								<div style="padding: 5px 15px;">转账到：</div>
								<div class="ac_banklist ac_bank_list">
									<input type="radio" name="back_icon" value="cmb" checked>
									<img src="../../images/bank1.png" / style="margin-top: 20px;">
									<p>账号：1289 0715 5110 501<br>户名：成都盈透科技有限公司<br>开户行：招商银行股份有限公司成都天府大道支行</p>
								</div>
								<div class="ac_banklist ac_bank_list">
									<input type="radio" name="back_icon" value="icbc">
									<img src="../../images/bank_02.gif" />
									<p>账号：4402 9391 1910 0042 543<br>户名：成都盈透科技有限公司<br>开户行：中国工商银行府河音乐花园支行</p>
								</div>
								<div class="ac_banklist ac_bank_list">
									<input type="radio" name="back_icon" value="boc">
									<img src="../../images/bank_04.gif" />
									<p>账号：1158 4367 7712<br>户名：成都盈透科技有限公司<br>开户行：中国银行天府新区华阳支行</p>
								</div>
								<div class="ac_banklist ac_bank_list">
									<input type="radio" name="back_icon" value="ccb">
									<img src="../../images/bank_01.gif" />
									<p>账号：5105 0140 6137 0000 0421<br>户名：成都盈透科技有限公司<br>开户行：中国建设银行成都世纪城新会展支行</p>
								</div>
								<div class="ac_banklist ac_bank_list">
									<input type="radio" name="back_icon" value="abc">
									<img src="../../images/bank_03.gif" />
									<p>账号：2280 8201 0400 05595<br>户名：成都盈透科技有限公司<br>开户行：中国农业银行成都新希望国际支行</p>
								</div>
								<ul class="mui-table-view">
									<!--<li class="mui-table-view-cell">
										<label>转入银行</label>
										<select class="mui-btn mui-btn-block" id="abbreviation">
											<option value="-1">请选择您的转账银行</option>
											<option value="cmb">招商银行</option>
											<option value="icbc">中国工商银行</option>
											<option value="boc">中国银行</option>
											<option value="ccb">中国建设银行</option>
											<option value="abc">中国农业银行</option>
										</select>
									</li>-->
									<li class="mui-table-view-cell">
										<label>转账流水</label>
										<input type="tel" class="mui-input-clear" placeholder="请输入转账流水" data-input-clear="5" id="serialnum" onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))">
									</li>
								</ul>
								<div class="ac_btn">
									<button id="openbankPay" class="mui-btn mui-btn-block lg-btnlogin" type="button">确认提交</button>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div id="weixinpayBack">
				<img src="../../images/weixinpay.png">
			</div>
		</div>
		<script type="text/javascript" src="../../js/mui.min.js"></script>
		<script type="text/javascript" src="../../js/common.js"></script>
		<script type="text/javascript" src="../../js/jquery-1.11.3.js"></script>
		<script type="text/javascript" src="../../js/pingpp.js"></script>
		<script>
			var item = document.getElementById('itembox');
			var scheight = document.documentElement.clientHeight;
			var infoheihgt = scheight - 44 - 57;
			item.style.height = infoheihgt + 'px';
			mui.init();
			/*mui.init({

		    swipeBack: false, 
		    subpages:[{
		      url:'../commonback.html',
		      id:'common.html',
		      styles:{
		        top:'0px',//mui标题栏默认高度为45px；
		      }
		    }]
		  });*/
			mui.init({
				swipeBack: false,

				gestureConfig: {
					tap: true, //默认为true
					drag: true, //默认为true
				}
			});
			var payPage = null; //定义币币支付页面对象变量
			var win = null;
			var pay_id = null;
			var pays = {};
			mui.plusReady(function() {
				var wv = plus.webview.currentWebview();
				document.getElementById("back").addEventListener("tap",function(){
					 var backId = wv.backId;
					 var backIdObj = plus.webview.getWebviewById(backId);
					 if(backIdObj != null){
					 	backIdObj.reload();
					 	mui.back();
					 }
				});
			var leftWidth=window.innerWidth/2-150;
			$("#weixinpayBack").css({"height":window.innerHeight+"px","background-color":"rgba(0, 0, 0, 0.2)"});
			$("#weixinpayBack img").css({"top":window.innerHeight/2-120+"px","left":leftWidth+"px"});
				document.getElementById("weixinPayCode").addEventListener("tap",function(){
					$("#weixinpayBack").css("display","block");
//					
			});
			document.getElementById("weixinpayBack").addEventListener("tap",function(){
				$("#weixinpayBack").css("display","none");
			})
//			$("#weixinpayBack").click(function(){
//				$("#weixinpayBack").css("display","none");
//			})
				mui.app_request('/user/pay/check/wx/account', {
						}, function(result) {
							if(result.success==true){
								$("#wx_account").text(result.message);
							}
							return;
						}, function(result) {
							mui.toast(result.message);
						});
			//var thisURL = document.URL;
			//alert(thisURL);
			  /*document.getElementById("openappliy").addEventListener("tap", function() {
					plus.runtime.openURL("https://qr.alipay.com/apw1hz7ddal8e7zsfe");
				});*/
				/*document.getElementById("alipayapp-btn").addEventListener("tap", function() {
					mui.app_request('/user/pay/pingplusplus', {
						"money": 1,
						"payWay":4
					}, 
					function(result) {
					},
					function(result) {
						var charge = JSON.parse(result);
						pingpp.createPayment(charge, function(result, err) {
							if(result == "success") {
								// 只有微信公众账号 wx_pub 支付成功的结果会在这里返回，其他的支付结果都会跳转到 extra 中对应的 URL。
							} else if(result == "fail") {
								// charge 不正确或者微信公众账号支付失败时会在此处返回
							} else if(result == "cancel") {
								// 微信公众账号支付取消支付
							}
						});
					}
					);
				var money = document.getElementById("rechargeMoneyAlipayApp").value;
				if(money !== null && money.length > 0 && money >= 1){
					plus.nativeUI.showWaiting( "正在联系服务器进行支付..." );
								setTimeout( function(){
									plus.nativeUI.closeWaiting();
								}, 2000 );
						var w = plus.webview.create("openUrlPay.html","pay",{top:"45px"},{money:money});
						w.show();
					}else{
						if(money > 0 && money < 1){
							mui.toast("充值金额不能小于1元");
						}else{
							mui.toast("请输入充值金额！");
						}
						
					}
				});
				/*switch(plus.os.name) { //根据客户端修改充值文本框属性
					case "Android":
						document.getElementById("rechargeMoney").setAttribute('type', 'tel');
						break;
					case "iOS":
						document.getElementById("rechargeMoney").setAttribute('type', 'number');
						break;
					default:
						document.getElementById("rechargeMoney").setAttribute('type', 'number');
						break;
				}*/
				//获取网银充值账户余额信息
				mui.app_request('/user/getbalancerate', {
						'businessType': 3
					},
					function(result) {
						var balance = result.data.balance;
						document.getElementById("balanceSpan").innerHTML = balance + '元';
		              	var vText = wv.money;//这样就能接收到上个页面传过来的值了
//		              	var backPage=wv.backPage;
//		              	plus.storage.setItem("backPage",backPage);
		             	if(vText != null){
			              var balance = parseFloat(document.getElementById("balanceSpan").innerHTML).toFixed(2);
			              var vTextlength = vText.length;
			              var cb = vText.substring(0,vTextlength - 1);
			              var chargeBalance = cb.replace(",","");
			              var chargeAmount = chargeBalance - balance; 
			              document.getElementById("rechargeMoney").value = chargeAmount;
		              }
						return;
					},
					function(result) {
						return;
					}
				);
				tzdr.init.initHearListener();
//				document.getElementById("alipayApp").addEventListener("tap", function() {
//					document.getElementById("alipayApp").href = "#item6mobile";
//				});
				document.getElementById("bankPay").addEventListener("tap", function() {
					document.getElementById("bankPay").href = "#item3mobile";
				});
				document.getElementById("onlinePay").addEventListener("tap", function() {
					document.getElementById("onlinePay").href = "#item1mobile";
				});
				document.getElementById("weixinPay").addEventListener("tap", function() {
					document.getElementById("weixinPay").href = "#item2mobile";
				});
				//添加充值金额文本框监听
				document.getElementById("rechargeMoney").addEventListener('input', function() {
					if(this.value && !Number(this.value)) { //非数字赋值空
						var _length = this.value.length;
						moneyHandle(this.value.substr(0, _length - 1), this); //删除非金额字符
						return;
					} else {
						var _length = this.value.length;
						var _index = this.value.lastIndexOf('.');
						var _temp_value = _index > 0 ? this.value.substr(_index + 1, _length) : '';
						this.value = _temp_value.length > 2 ? this.value.substr(0, _length - 1) : this.value;
						return;
					}
				});
				//网银充值“立即充值”操作
				document.getElementById("recharge-btn").addEventListener("tap", function() {
					var money = document.getElementById("rechargeMoney").value;
					if(mui.isnull(money)) {
						mui.toast("充值金额不能为空");
						return;  
					}
					//充值"操作"
					mui.app_request('/user/pay/gopay', {
						"goPaymoney": money,
						"gopayWay":7
					}, function(result) {
						var data = result.data;
						plus.nativeUI.showWaiting( "正在跳转..." );
						setTimeout(function(){
							plus.nativeUI.closeWaiting();
						},2000);
						var w = plus.webview.create("gopay.html","gopay",{top:"45px"},{data:result});
						w.show();
						/*payPage = mui.openWindow({
							url:"gopay.html", 
							
							id:"gopay",
							extras:{
								data:result
							}
						});*/
						return;
					}, function(result) {
						if(result.code == 2) {
							mui.toast("充值金额不能为空！");
							return;
						} else if(result.code == 3) {
							mui.toast("充值金额必须大于或等于1、小于或等于5000000！");
							return;
						} else if(result.code == 4) {
							mui.toast("在线网银每天限额10万元，超额部分请选择其他方式充值！");
							return;
						} else {
							mui.toast("系统繁忙，请稍后再试！");
							return;
						}
					});
				});

				/*//获取支付宝账号
				getalipayAcount();*/

				/*document.getElementById("bindAlipay").addEventListener("tap", function() {
					var alipay_account = document.getElementById("alipay_account");
					mui.prompt("请输入要绑定的支付宝账号", "支付宝账号", "绑定提示", ['取消', '绑定'], function(e) {
						if(e.index == 0) {
							return;
						}
						if(mui.isnull(e.value)) {
							mui.toast("支付宝账号不能为空");
							return;
						}
						mui.app_request('/user/pay/bindalipay', {
							"alipayAcount": e.value
						}, function(result) {
							mui.toast("绑定成功！");
							alipay_account.innerHTML = e.value;
							return;
						}, function(result) {
							if(result.code == 2) {
								mui.toast("支付宝账号已经存在！");
								return;
							} else if(result.code == 3) {
								mui.toast("支付宝账号不能为空！");
								return;
							} else {
								mui.toast("系统繁忙，请稍后再试！");
								return;
							}
						})
					});

				});*/

				/*	document.getElementById("openAlipay").addEventListener("tap",function(){
				mui.openWindow("alipy://");
    			
    		});*/
				//获取微信账号
				//getalipayAcount();
//				alert("")
				document.getElementById("bindAlipay").addEventListener("tap", function() {
					var alipay_account = document.getElementById("wx_account");
					mui.prompt("请输入要绑定的微信账号", "微信账号", "绑定提示", ['取消', '绑定'], function(e) {
						if(e.index == 0) {
							return;
						}
						if(mui.isnull(e.value)) {
							mui.toast("微信账号不能为空");
							return;
						}
						mui.app_request('/user/pay/wx/bind/account', {
							"account": e.value
						}, function(result) {
							console.log(JSON.stringify(result));
							if(result.success==true){
								mui.toast("绑定成功！");
								alipay_account.innerHTML = e.value;
							}else{
								if(result.message == 2) {
									mui.toast("微信账号已经存在！");
									return;
								} else if(result.message == 3) {
									mui.toast("微信账号不能为空！");
									return;
								} else {
									mui.toast("系统繁忙，请稍后再试！");
									return;
								}
							}
							
							return;
						}, function(result) {
							if(result.code == 2) {
								mui.toast("微信账号已经存在！");
								return;
							} else if(result.code == 3) {
								mui.toast("微信账号不能为空！");
								return;
							} else {
								mui.toast("微信账号已经存在！");
								return;
							}
						})
					});

				});
				document.getElementById("openbankPay").addEventListener("tap", function() {
					banksPay();
				});
			});

			//金额处理方法【_value：金额(如果包含非金额字符，递归到删除非金额字符)，_obj输入框对象】
			function moneyHandle(_value, _obj) {
				if(_value && !Number(_value)) { //非数字赋值空
					var _length = _value.length;
					moneyHandle(_value.substr(0, _length - 1), _obj);
				} else {
					_obj.value = _value
					return;
				}
			}

			/*我要充值--选择银行*/
			$(function(){
				var bank_icon = $("#ac_bank_list .ac_bank_list");
				bank_icon.click(function(){
					var this_ = $(this).index();
					$('#ac_bank_list input:radio[name="back_icon"]').eq(this_-3).prop("checked",true);
				});
			});
			
			function banksPay() {
				//var abbreviation = document.getElementById("abbreviation").value;
				var bank_money = document.getElementById("bank_money").value;
				var serialnum = document.getElementById("serialnum").value;
				var abbreviation=$('input:radio[name="back_icon"]:checked').val();
				/*alert(abbreviation);*/
				/*if(abbreviation == -1) {
					mui.toast("请选择您转账的银行");
					return;
				}*/
				if(mui.isnull(bank_money)) {
					mui.toast("转账的金额不能为空且不能输入非法字符！");
					return;
				}
				if(!tzdr.moneyUtils.testDecimal(bank_money)) {
					mui.toast("转账金额只能输入小数点后两位！");
					document.getElementById("bank_money").value = "";
					return;
				}

				if(mui.isnull(serialnum)) {
					mui.toast("请输入转账流水单号");
					return;
				}
				mui.app_request('/user/pay/bank_transfer', {
					"abbreviation": abbreviation,
					"serialnum": serialnum,
					"money": bank_money
				}, function(result) {
					mui.toast("提交成功，我们会尽快核实处理！");
					mui.app_refresh("account");
					return;
				}, function(result) {
					if(result.code == 2) {
						mui.toast("提交失败，参数有误！");
						return;
					} else if(result.code == 3) {
						mui.toast("用户信息不存在！");
						return;
					} else if(result.code == 4) {
						mui.toast("充值金额不能小于1元！");
						return;
					} else {
						mui.toast("系统繁忙，请稍后再试！");
						return;
					}
				})
			}
			/*function getalipayAcount() {
				mui.app_request("/user/pay/getalipayacount", {}, function(result) {
					if(mui.isnull(result.data.alipayAcount)) {
						document.getElementById("alipay_account").innerHTML = "待绑定";
						return;
					}
					document.getElementById("alipay_account").innerHTML = result.data.alipayAcount;
					return;
				}, function(result) {

					document.getElementById("alipay_account").innerHTML = "待绑定";
					return;
				})
			};*/
			
			
			function getalipayAcount() {
				mui.app_request("/user/pay/getalipayacount", {}, function(result) {
					if(mui.isnull(result.data.alipayAcount)) {
						document.getElementById("alipay_account").innerHTML = "待绑定";
						return;
					}
					document.getElementById("alipay_account").innerHTML = result.data.alipayAcount;
					return;
				}, function(result) {

					document.getElementById("alipay_account").innerHTML = "待绑定";
					return;
				})
			};
			(function($) {
				$('.mui-scroll-wrapper').scroll({
					indicators: true //是否显示滚动条
				});
				var sliderSegmentedControl = document.getElementById('sliderSegmentedControl');
			})(mui);
//			document.querySelector('.mui-slider').addEventListener('slide', function(event) {
//			  //注意slideNumber是从0开始的；
//				//alert(event.detail.slideNumber );
//			if(event.detail.slideNumber==0){
//				$("#item6mobile").addClass("mui-active");
//				$("#item3mobile").removeClass("mui-active");
//				$("#itembox").css({"-webkit-transform": "translate3d(0px, 0px, 0px) translateZ(0px)", "-webkit-transition": "0ms cubic-bezier(0.165, 0.84, 0.44, 1)","transition": "0ms cubic-bezier(0.165, 0.84, 0.44, 1)"});
//					$("#sliderProgressBar").css({"transform":"translate3d(0px, 0px, 0px) translateZ(0px)"});
//			}else if(event.detail.slideNumber==1){
//				$("#sliderProgressBar").css({"transform":"translate3d(100%, 0px, 0px) translateZ(0px)"})
//				$("#item3mobile").addClass("mui-active");
//				$("#item6mobile").removeClass("mui-active");
//				$("#itembox").css({"-webkit-transform": "translate3d(-100%, 0px, 0px) translateZ(0px)"," -webkit-transition": "0ms cubic-bezier(0.165, 0.84, 0.44, 1)", "transition": "0ms cubic-bezier(0.165, 0.84, 0.44, 1)"});
//		}
//			});
		</script> 
	</body>

</html>
